home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
SgTextSetErrorSelection.z
/
SgTextSetErrorSelection
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttEEEErrrrrrrroooorrrrSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmTTTTeeeexxxxttttSSSSeeeettttEEEErrrrrrrroooorrrrSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttEEEErrrrrrrroooorrrrSSSSeeeelllleeeeccccttttiiiioooonnnn -A Text function that sets the
primary selection of the text
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxtttt....hhhh>>>>
vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttEEEErrrrrrrroooorrrrSSSSeeeelllleeeeccccttttiiiioooonnnn ((((_w_i_d_g_e_t, _f_i_r_s_t, _l_a_s_t, _t_i_m_e))))
WWWWiiiiddddggggeeeetttt _w_i_d_g_e_t;;;;
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn_f_i_r_s_t;;;;
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn_l_a_s_t;;;;
TTTTiiiimmmmeeee _t_i_m_e;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents the version of Sgm that accompanies
Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttEEEErrrrrrrroooorrrrSSSSeeeelllleeeeccccttttiiiioooonnnn sets the primary selection of the
text in the widget using the SgNerrorBackground color to
draw the selected text backgroung color. It also sets the
insertion cursor position to the last position of the
selection and calls the widget's XXXXmmmmNNNNmmmmoooottttiiiioooonnnnVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk
callbacks.
_w_i_d_g_e_t Specifies the Text widget ID
_f_i_r_s_t Marks the first character position of the text to be
selected
_l_a_s_t Marks the last position of the text to be selected
_t_i_m_e Specifies the time at which the selection value is
desired. This should be the same as the time of the
event that triggered this request.
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
SSSSggggTTTTeeeexxxxtttt((((3333XXXX)))). XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
Page 1 (printed 10/24/98)